Hummingbird\Core\Modules\Page_Cache D

Total Complexity 307
Dependencies 6
Dependents 2
Total lines 1,921
Lines of code 963
Logical lines of code 618
Comment lines 692
Methods 49
Properties 3

Methods 49

Method Rating Maintainability Complexity Lines of code
cache_request()
B
36 22 71
should_cache_request()
B
41 21 48
purge_post_cache()
B
39 19 60
skip_page_type()
B
50 19 25
clear_cache()
B
41 16 52
post_status_change()
A
51 13 26
serve_cache()
A
47 10 35
load_config()
A
48 10 29
log_msg()
A
51 10 25
cleanup()
A
50 9 27
toggle_service()
A
52 8 27
init_filesystem()
A
52 8 25
check_plugin_compatibility()
A
47 7 33
skip_url()
A
55 8 17
check_wp_settings()
S
52 7 27
get_page_headers()
S
53 7 23
send_file()
S
54 7 20
send_headers()
S
48 6 33
get_page_headers_cached()
S
54 6 21
post_edit()
S
55 6 19
clear_on_comment_post()
S
60 6 13
skip_user_agent()
S
60 6 12
init_caching()
S
54 5 21
get_cookies()
S
56 5 18
skip_custom_cookies()
S
58 5 14
module_status()
S
61 5 12
get_file_cache_path()
S
54 4 19
save_settings()
S
56 4 18
can_serve_compressed()
S
64 5 9
check_minification_queue()
S
63 4 11
logged_in_user()
S
62 4 11
get_settings()
S
57 3 17
add_index()
S
65 4 9
run()
S
56 2 17
init_preloader()
S
68 3 7
clear_external_cache()
S
70 3 6
get_page_types()
S
59 2 14
get_default_settings()
S
51 1 27
skip_custom_post_type()
S
69 2 7
skip_subsite()
S
68 2 7
is_mobile_agent()
S
63 2 10
clear_cache_action()
S
70 2 7
activate()
S
71 2 6
write_file()
S
67 2 8
clear_cache_button()
S
72 1 7
clear_cache_message()
S
74 1 4
disable()
S
80 1 3
enable()
S
80 1 3
init()
S
79 1 3